package com.ohos.connent.bizscenecloud.client.modular.device.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * 场景库版本查询参数
 *
 * @Author: ChenJiaHao
 * @Date: 2024/5/23 17:34
 * @Description:
 */
@Getter
@Setter
public class ClientScenesLibraryParam {

    /** 场景库版本名称 */
    @ApiModelProperty(value = "场景库版本名称")
    @NotBlank(message = "场景库版本名称不能为空")
    @Size(min = 1, max = 256, message = "字符长度只允许在1-256之间")
    private String scenelibVersion;

    /** APP版本名称 */
    @ApiModelProperty(value = "APP版本名称")
    // @NotBlank(message = "APP版本名称不能为空") 暂时传空，不做校验
    // @Size(min = 1, max = 256, message = "字符长度只允许在1-256之间")
    private String appVersion;

    /** 描述 */
    @ApiModelProperty(value = "描述")
    @Size(max = 256, message = "字符长度只允许在0-256之间")
    private String description;
}
